<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--{if isset($meu_head)}-->
<!--{$meu_head}-->
<!--{/if}-->
<link rel="shortcut icon" href="{$base_path}favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="{$statics_path}img/main.css" />
<link rel="stylesheet" type="text/css" href="{$style_path}images/style.css" />
<script src="{$statics_path}js/jquery.js" type="text/javascript"></script>
<!--[if IE 6]>
<script type="text/javascript" src="{$statics_path}js/DD_belatedPNG.js"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.sprite,.png');
</script>
<![endif]-->
</head>

<body>
<noscript>
  <div class="js_disabled_noti">
    <div class="inner">
      {lang no_script_notice}
    </div>
  </div>
</noscript>
{$page_head}
<div id="header">
	<div class="wrap">
		<h1><a href="{link ctl=default}">{if $site_logo}<img src="{img $site_logo}" alt="{$site_name}" class="png" />{else}<img src="{$style_path}images/logo.png" alt="{$site_name}" class="png" />{/if}</a></h1>
		<div id="ustatus_menu">
			{$user_status}
		</div>
		<!--{if isset($update_info) && $update_info}-->
		<div id="head_notify">
			{if $update_info['return'] == 'new'}
				{lang new_update_available|`$update_info['version']`|`$update_info['pubdate']`} 
				<a href="{link ctl=update act=core version=$update_info['version']}">{lang update_immediately}</a> {lang or} 
				<a href="{$update_info['package']}">{lang update_manually}</a>
			{/if}
		</div>
		<!--{/if}-->
		<div id="tabs" class="nav">
			<ul id="album_tabs">
				<!--{if $nav_menu}-->
				<!--{php $nav_total=count($nav_menu);}-->
				<!--{loop $nav_menu $k $v}-->
					<!--{if $k+1<=10}-->
						<!--{if $v['type']==0}-->
							<li class="png item<!--{if $k==0}--> first<!--{/if}--><!--{if $k==$nav_total-1||$k==9}--> last<!--{/if}--><!--{if $v['url']==IN_CTL}--> current<!--{/if}-->"><span><a href="{link ctl=$v[url]}" title="{$v['name']}"><em>{$v['name']}</em></a></span></li>
						<!--{else}-->
							<li class="png item<!--{if $k==0}--> first<!--{/if}--><!--{if $k==$nav_total-1||$k==9}--> last<!--{/if}-->"><span><a href="{$v['url']}" title="{$v['name']}"><em>{$v['name']}</em></a></span></li>
						<!--{/if}-->
					<!--{/if}-->
				<!--{/loop}-->
				<!--{/if}-->
				<!--{if $loggedin}-->
				<li class="manage"><a href="{link ctl=setting act=nav}" title="{lang setting_nav}"><span class="i_setting sprite"></span></a></li>
				<!--{/if}-->
			</ul>
			<ul id="menu_icons" style="display:none;">
				<!--{if $loggedin}-->
					<li class="trash"><a href="{link ctl=trash}" title="{lang trash_title}"><span class="{if $trash_status}i_trash_full{else}i_trash{/if} sprite">{lang trash}</span></a></li>
				<!--{/if}-->
			</ul>
		</div>
		<div class="clear"></div>
	</div>
</div>
{$page_crumb}